/**
 * [description]
 * @module xjc
 * @author yourname
 */

(function() {
    // 对模块引入做兼容
    if(typeof require === 'undefined'){
        var require = function(moduleName){
            return window[moduleName];
        }
    }

    // var depplug = require('depplug');

    var Main = {};

    /* 模块化策略兼容代码 */
    if (typeof module !== 'undefined' && typeof exports === 'object') {
        module.exports = Main;
    }else {
        window.xjc = Main;
    }

}())


// 如果你的组件依赖jquery
$(function(){
    // 对依赖的引入做兼容
    if(typeof require === 'undefined'){
        var require = function(moduleName){
            return window[moduleName];
        }
    }

    // var depplug = require('depplug');


    var Main = {};

    /* 模块化策略兼容代码 */
    if (typeof module !== 'undefined' && typeof exports === 'object') {
        module.exports = Main;
    }else {
        window.xjc = Main;
    }
})